home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / jam / jamdisk7 / inc9110b.lzh / include / functions.h < prev    next >
C/C++ Source or Header  |  1990-04-04  |  2KB  |  55 lines

  1. /*
  2.  * Libraries and headers for PDC release 3.3 (C) 1989 Lionel Hummel.
  3.  * PDC Software Distribution (C) 1989 Lionel Hummel and Paul Petersen.
  4.  *
  5.  * This code is freely redistributable upon the conditions that this 
  6.  * notice remains intact and that modified versions of this file not
  7.  * be included as part of the PDC Software Distribution without the
  8.  * express consent of the copyright holders.  No warrantee of any
  9.  * kind is provided with this code.  For further information, contact:
  10.  *
  11.  *  PDC Software Distribution    Internet:                     BIX:
  12.  *  P.O. Box 4006             or hummel@cs.uiuc.edu            lhummel
  13.  *  Urbana, IL  61801-8801       petersen@uicsrd.csrd.uiuc.edu
  14.  */
  15.  
  16. /* functions.h - Prototypes for Amiga library functions.
  17.  *
  18.  * Honestly, I think these should be provided in the Amiga header files.
  19.  *
  20.  * This list is not yet complete.
  21.  */
  22.  
  23. /* exec.library */
  24. #ifdef EXEC_TYPES_H
  25. #  ifdef EXEC_PORTS_H
  26. extern struct MsgPort      *CreatePort(char *name);
  27. extern struct MsgPort      *FindPort(char *name);
  28. #  endif
  29. #  ifdef EXEC_TASKS_H
  30. extern struct Task         *FindTask(char *name);
  31. #  endif
  32. #  ifdef EXEC_MEMORY_H
  33. extern APTR                 AllocMem(ULONG, ULONG);
  34. extern void                 FreeMem(APTR, ULONG);
  35. #  endif
  36. #endif
  37.  
  38. /* dos.library */
  39. #ifdef LIBRARIES_DOS_H
  40. extern long                 DeleteFile(char *name);
  41. #  ifdef LIBRARIES_DOSEXTENS_H
  42. extern int                  Examine(struct FileLock *fl, struct FileInfoBlock *fib);
  43. extern int                  ExNext(struct FileLock *fl, struct FileInfoBlock *fib);
  44. #  endif
  45. extern int                  IoErr(void);
  46. extern struct FileLock     *Lock(char *name, long mode);
  47. extern struct FileHandle   *Open(char *name , long mode);
  48. extern int                  Rename(char *oldName, char *newName);
  49. #  ifdef LIBRARIES_DOSEXTENS_H
  50. extern int                  Seek(struct FileHandle *fh, int pos, int mode);
  51. extern void                 UnLock(struct FileLock *fl);
  52. extern int                  Write(struct FileHandle *fh, char *buf, int len);
  53. #  endif
  54. #endif
  55.